package demo1;

import java.util.Scanner;

/**
 * @Author liangzai
 * @Description:
 */
public class Test {
    public static void main2(String[] args) {
        UserService userService = new UserService();
        userService.start();
    }

    public static void main(String[] args) {
        Chat chat = new Chat();
        chat.init("qq聊天",400,600);
        chat.connServer();
    }

    public static void main1(String[] args) {
        Demo demo = new Demo();
//      System.out.println("请输入标题：");
//      Scanner scanner = new Scanner(System.in);
//      String title = scanner.next();
//      System.out.println("请输入宽度：");
//      int wight = scanner.nextInt();
//      System.out.println("请输入长度：");
//      int hight = scanner.nextInt();
        demo.inti("QQ登录",430,330);
    }
}
